/**
 * 
 */
package de.midnightdance.server.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

import de.midnightdance.server.Activator;



/**
 * @author Surfer
 *
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	/**
	 * 
	 */
	public PreferenceInitializer() {
		
	}

	/* (non-Javadoc)
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	@Override
	public void initializeDefaultPreferences() {
		IPreferenceStore store = Activator.getDefault().getPreferenceStore();
		store.setDefault(PreferenceConstants.P_Db4oLaunchServer			, true);
		store.setDefault(PreferenceConstants.P_Db4oDatabaseFileName		, "C:/SandBox/RequiemDB.db4o");		
		store.setDefault(PreferenceConstants.P_Db4oDatabaseHost			, "localhost");
		store.setDefault(PreferenceConstants.P_Db4oDatabasePort			, 11337);
		store.setDefault(PreferenceConstants.P_Db4oUserDatabaseFileName	, "C:/SandBox/RequiemUserDB.db4o");		
		store.setDefault(PreferenceConstants.P_Db4oUserDatabaseHost		, "localhost");
		store.setDefault(PreferenceConstants.P_Db4oUserDatabasePort		, 11338);
		
	}

}
